* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  color: #333;
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  user-select: none;
}

header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
}

h1 {
  width: 40%;
  font-family: ltc-bodoni-175, serif;
  font-size: 26px;
  display: flex;
  align-items: center;
}

h1 img {
  margin-right: 10px;
}

.main {
  width: 50%;
  height: 40%;
  margin: auto;
  margin-top: 140px;
  display: grid;
  grid-template-columns: repeat(5, 20%);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.navItem {
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
}

.icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  background-color: #eee;
}

.icon img {
  width: 60%;
}

.text {
  padding: 20px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bg {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

#qrcode {
  display: flex;
  justify-content: center;
}

.wraper {
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: 10;
}

/* 导航条 */
nav,
ul,
li {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

.nav ul {
  *zoom: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  /* background: #333; */
}

.nav ul:before,
.nav ul:after {
  content: "";
  display: table;
}

.nav ul:after {
  clear: both;
}

.nav ul>li {
  float: left;
  position: relative;
}

.nav a {
  display: block;
  padding: 10px 20px;
  line-height: 1.2em;
  /* border-left: 1px solid #595959; */
}

.nav a:hover {
  text-decoration: none;
  color: #3eaaf1;
  transition: all .7s ease 0s;
}

.nav li ul {
  /* background: #273754; */
}

.nav li ul li {
  width: 200px;
}

.nav li ul a {
  border: none;
}

.nav li ul a:hover {
  /* background-color: rgba(148, 235, 253, 0.70); */
  /* color: #000; */
  color: #3eaaf1;
  ;
  font-weight: bold;
}

.nav5 ul>li:hover ul {
  max-height: 1000px;
  -webkit-transform: perspective(400) rotate3d(0, 0, 0, 0);
}

.nav5 li ul {
  position: absolute;
  left: 0;
  top: 41px;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  -webkit-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
  -webkit-transform-origin: 50% 0;
  -webkit-transition: 350ms;
  -moz-transition: 350ms;
  -o-transition: 350ms;
  transition: 350ms;
}